package org.hhgzs.modules.erp.mapper;

import org.apache.ibatis.annotations.Param;
import org.hhgzs.modules.erp.entity.MaterialCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.hhgzs.modules.erp.vo.TreeNode;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 产品类型表 Mapper 接口
 * </p>
 *
 * @author peiqy
 * @since 2021-07-14
 */
public interface MaterialCategoryMapper extends BaseMapper<MaterialCategory> {

    List<TreeNode> getNodeTree(@Param("currentId")Long currentId);

    List<TreeNode> getNextNodeTree(Map<String, Object> parameterMap);
}
